package examples.socialNetwork;

import es1.Graph;
import es1.GraphClass;

public class Main
{
	private static Graph<Friend> socialNetwork = new GraphClass<Friend>();
	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		Friend Joao = new Friend("friendJ");

		for (char f = 'H'; f <= 'M'; f++)
			socialNetwork.addNode(new Friend("friend" + f));

		for (Friend one : socialNetwork.getNodes())
			for (Friend another : socialNetwork.getNodes())
				if (!one.equals(another) && !another.equals(Joao))
					socialNetwork.unidirectionalConnect(one, another);

		System.out.println(socialNetwork);
	}

}
